export default url => {
  const crud = window.$crud(url)
  
  const select = (params) => window.$axios({
    url: `${url}/select`,
    method: 'get',
    params
  })

  return {
    ...crud,
    select
  }
}